package com.vastcom.sigma.admin.dao;

import com.vastcom.sigma.admin.model.Materiainventorychange;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface MateriainventorychangeDao extends JpaRepository<Materiainventorychange,String> {

    @Query("select m from Materiainventorychange m order by m.changedate desc")
    List<Materiainventorychange> getMateriainventorychangesByChangedate();


}
